<?php
/* Smarty version 3.1.29, created on 2016-10-12 11:23:34
  from "C:\wamp\china\Admin\View\Index\main.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_57fdacb6047079_77660286',
  'file_dependency' => 
  array (
    '7b4340407f2341e91345c147091e79194dbc7b94' => 
    array (
      0 => 'C:\\wamp\\china\\Admin\\View\\Index\\main.html',
      1 => 1476242599,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_57fdacb6047079_77660286 ($_smarty_tpl) {
$_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, ((string)@constant('APP_PATH'))."/Admin/View/Public/head.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>

<?php echo '<script'; ?>
>

    $(function(){

        $('.skin-color').click(function(){

            $('head').append("<link id='skinstyle' rel='stylesheet' href='{$smarty.const.PUBLIC_PATH}/Admin/tpl/css/style."+$(this).attr('href')+".css' type='text/css' />");   

            $.post('__URL__/changecolor',{'color':$(this).attr('href')},function(data){
                // alert(data);
                        
            });
            return false;
        });
    });

<?php echo '</script'; ?>
>
<body onload = "startTime();">

<div class="mainwrapper">
<?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, ((string)@constant('APP_PATH'))."/Admin/View/Public/menu.body.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
    
    <!-- START OF RIGHT PANEL -->
    <div class="rightpanel">
	<?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, ((string)@constant('APP_PATH'))."/Admin/View/Public/users.body.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
<!--右边头部-->
        <div class="breadcrumbwidget">
        	<ul class="skins">
                <li><a href="default" class="skin-color default"></a></li>
                <li><a href="orange" class="skin-color orange"></a></li>
                <li><a href="dark" class="skin-color dark"></a></li>
                <li>&nbsp;</li>
                <li class="fixed"><a href="" class="skin-layout fixed"></a></li>
                <li class="wide"><a href="" class="skin-layout wide"></a></li>
            </ul><!--skins-->
        	<ul class="breadcrumb">
                <li><a href="<?php echo @constant('__MODULE__');?>
/Index/main">Home</a> <span class="divider">/</span></li>
                <li class="active">控制面板</li>
            </ul>
        </div><!--breadcrumbwidget-->
      <div class="pagetitle">
        	<h1>控制面板</h1> <span>本页面主要负责显示网站信息</span>
        </div><!--pagetitle-->
        
        <div class="maincontent">
        	<div class="contentinner content-dashboard">
                <div class="alert alert-info">
                	<button type="button" class="close" data-dismiss="alert">×</button>
                    <strong>:--) 欢迎来到我们的网站 -- <?php echo $_smarty_tpl->tpl_vars['userName']->value;?>
!</strong>
                </div><!--alert-->

                <div>
                    <h4 class="widgettitle nomargin">网站简介</h4>
                    <div class="widgetcontent bordered">
                            &nbsp;&nbsp;&nbsp;&nbsp;<<?php echo ucfirst($_smarty_tpl->tpl_vars['webData']->value['title']);?>
> 订车系统，拥有大量车辆资源，在这里，您可以找到您想坐的车辆，同时您也可以很方便的进行订车和评论等一系列操作。
                    </div><!--widgetcontent-->
                </div>
                <div class="row-fluid"> 
               <!-- 	<div class="span8">-->
                    <if condition="$Think.session.mroles eq 1">
                    	<ul class="widgeticons row-fluid">
                    	<li class="one_fifth">
                        <a href="__APP__/Users/listPage/">
                            <img src="<?php echo @constant('PUBLIC_PATH');?>
/Admin/tpl/img/gemicon/users.png"/>
                            <span>用户管理</span>
                        </a>
                    </li>
                           
                                     	
                    	<li class="one_fifth">
                        <a href="__APP__/Foods/selFoods/">
                            <img src="<?php echo @constant('PUBLIC_PATH');?>
/Admin/tpl/img/gemicon/edit.png"/>
                            <span>车辆管理</span>
                        </a>
                    </li>
                    <li class="one_fifth">
                        <a href="__APP__/Forms/listPage/">
                            <img src="<?php echo @constant('PUBLIC_PATH');?>
/Admin/tpl/img/gemicon/calendar.png"/>
                            <span>订单管理</span>
                        </a>
                    </li>
                    	<li class="one_fifth">
                        <a href="__APP__/Foods/showFav/">
                            <img src="<?php echo @constant('PUBLIC_PATH');?>
/Admin/tpl/img/gemicon/archive.png"/>
                            <span>优惠管理</span>
                        </a>
                    </li>
                    	<li class="one_fifth">
                        <a href="__APP__/Evaluate/evaluateList/">
                            <img src="<?php echo @constant('PUBLIC_PATH');?>
/Admin/tpl/img/gemicon/mail.png"/>
                            <span>网站评论</span>
                        </a>
                    </li>
                    <li class="one_fifth">
                        <a href="__APP__/Ip/listPage/">
                            <img src="<?php echo @constant('PUBLIC_PATH');?>
/Admin/tpl/img/gemicon/location.png"/>
                            <span>IP管理</span>
                        </a>
                    </li>

                    <li class="one_fifth">
                        <a href="__APP__/Friendlinks/listLinks/">
                            <img src="<?php echo @constant('PUBLIC_PATH');?>
/Admin/tpl/img/gemicon/notify.png"/>
                            <span>友情链接</span>
                        </a>
                    </li>
                    <li class="one_fifth last">
                        <a href="__APP__/Webconfig/sysinfo/">
                            <img src="<?php echo @constant('PUBLIC_PATH');?>
/Admin/tpl/img/gemicon/settings.png"/>
                            <span>网站配置</span>
                        </a>
                    </li>           
                    </ul>

                        <br /> 
                    </if>
                   <!-- </div> -->
                    <!-- <div class="span4">                    	    -->
                      <!--   <h4 class="widgettitle nomargin">日历</h4>
                                          <div class="widgetcontent">
                                              <div id="calendar" class="widgetcalendar"></div>
                                          </div>     -->                    
                    <!-- </div> -->
                </div><!--row-fluid-->
            </div><!--contentinner-->
        </div><!--maincontent-->
        
    </div><!--mainright-->
    <!-- END OF RIGHT PANEL -->
    
    <div class="clearfix"></div>
    
    <div class="footer">
    	<div class="footerleft">快达租赁管理 v1.0</div>
    	<div class="footerright">&copy; twen_Yee </div>
    </div><!--footer-->

    
</div><!--mainwrapper-->
<?php echo '<script'; ?>
 type="text/javascript">
jQuery(document).ready(function(){
								
		// basic chart
		/*var flash = [[0, 2], [1, 6], [2,3], [3, 8], [4, 5], [5, 13], [6, 8]];
		var html5 = [[0, 5], [1, 4], [2,4], [3, 1], [4, 9], [5, 10], [6, 13]];
			
		function showTooltip(x, y, contents) {
			jQuery('<div id="tooltip" class="tooltipflot">' + contents + '</div>').css( {
				position: 'absolute',
				display: 'none',
				top: y + 5,
				left: x + 5
			}).appendTo("body").fadeIn(200);
		}*/
	
		var previousPoint = null;
		jQuery("#chartplace2").bind("plothover", function (event, pos, item) {
			jQuery("#x").text(pos.x.toFixed(2));
			jQuery("#y").text(pos.y.toFixed(2));
			
			if(item) {
				if (previousPoint != item.dataIndex) {
					previousPoint = item.dataIndex;
						
					jQuery("#tooltip").remove();
					var x = item.datapoint[0].toFixed(2),
					y = item.datapoint[1].toFixed(2);
						
					showTooltip(item.pageX, item.pageY,
									item.series.label + " of " + x + " = " + y);
				}
			
			} else {
			   jQuery("#tooltip").remove();
			   previousPoint = null;            
			}
		
		});
		
		jQuery("#chartplace2").bind("plotclick", function (event, pos, item) {
			if (item) {
				jQuery("#clickdata").text("You clicked point " + item.dataIndex + " in " + item.series.label + ".");
				plot.highlight(item.series, item.datapoint);
			}
		});
		
		// calendar
		jQuery('#calendar').datepicker();

		// change skin color
		jQuery('.skin-color').click(function(){
		var s = jQuery(this).attr('href');
		if(jQuery('#skinstyle').length > 0) {
			if(s!='default') {
				jQuery('#skinstyle').attr('href','<?php echo @constant('PUBLIC_PATH');?>
/Admin/tpl/css/style.'+s+'.css');	
				jQuery.cookie('skin-color', s, { path: '/' });
			} else {
				jQuery('#skinstyle').remove();
				jQuery.cookie("skin-color", '', { path: '/' });
			}
		} else {
			if(s!='default') {
				jQuery('head').append('<link id="skinstyle" rel="stylesheet" href="<?php echo @constant('PUBLIC_PATH');?>
/Admin/tpl/css/style.'+s+'.css" type="text/css" />');
				jQuery.cookie("skin-color", s, { path: '/' });
			}
		}
		return false;
	});

	// load selected skin color from cookie
	if(jQuery.cookie('skin-color')) {
		var c = jQuery.cookie('skin-color');
		if(c) {
			jQuery('head').append('<link id="skinstyle" rel="stylesheet" href="<?php echo @constant('PUBLIC_PATH');?>
/Admin/tpl/css/style.'+c+'.css" type="text/css" />');
			jQuery.cookie("skin-color", c, { path: '/' });
		}
	}


});
<?php echo '</script'; ?>
>
</body>
</html>
<?php }
}
